<include file="Common:header" />
<div class="layui-card layadmin-header"> <span class="layui-breadcrumb" lay-separator="/"> <a href="{:U('Index/welcome')}">首页</a><a href="{:U('User/index')}">用户管理</a></span> </div>

<div class="layui-fluid pt-10 pr-10 pl-20">
	<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
		<legend><font color="#FF0000">Tips:不输入则不修改。</font></legend>
	</fieldset>
	<form class="layui-form" name="addForm" id="addForm" method="post" action="{:U('User/save')}">
		<div class="layui-form-item">
			<label class="layui-form-label">用户名</label>
			<div class="layui-input-block">
				<div class="layui-form-mid layui-word-aux">{$data['username']}</div><input type="hidden" name="id" value="{$data['id']}" />
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">输入原密码</label>
			<div class="layui-input-inline">
				<input type="password" name="oldpassword" lay-verify="pass" placeholder="输入原密码" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">输入密码</label>
			<div class="layui-input-inline">
				<input type="password" name="password" lay-verify="pass" placeholder="请输入密码" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">确认密码</label>
			<div class="layui-input-inline">
				<input type="password" name="password1" lay-verify="pass" placeholder="请输入密码" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit lay-filter="formDemo">确认提交</button>
				<button type="reset" class="layui-btn layui-btn-primary" onClick="self.history.back();">返回</button>
			</div>
		</div>
	</form>
</div>
<script type="text/javascript">
layui.use(['element','form'], function(){});
</script>
<include file="Common:footer" />